﻿		
	
		
    <%csharp%>TempUrl = ModuleCtrl.Header4("BestFitPatientsBySymptoms","和我症状最接近的病友",true,false); <%/csharp%>
    {TempUrl}   
    
    	<%csharp%> if(UserData.Id > 0) { <%/csharp%>     <!-- 用户已经登录 -->
			    
		<%csharp%>if (UserData.DiseaseId > 0) { <%/csharp%>     <!-- 用户已经登录并且选择了疾病 -->
        
         <%csharp%> if (bestFitPatientsBySymptoms != null && bestFitPatientsBySymptoms.Count > 0) { <%/csharp%>
         
        	<ul class="pictureliststyle">
                <%csharp%>foreach(UserInfo item in bestFitPatientsBySymptoms) { <%/csharp%>
                <%csharp%>TempUrl = "/Profile/Index.aspx?uid=" + item.Id; <%/csharp%>
                <li>
                <a href="{GetUrl(TempUrl)}" class="user_img" target="_blank" ><img src="{item.Avatar}" width="45px" height="45px" alt="{item.UserName}"/></a>
                <p><a href="{GetUrl(TempUrl)}" target="_blank" title="{item.DiseaseName}">{item.UserName}</a></p>
                </li>
                
                <%csharp%> } <%/csharp%>

 
            </ul>
            
            <%csharp%> } else { <%/csharp%>
            
            <div style="font: 13px Arial, Helvetica, sans-serif; padding: 20px 16px 20px 16px; text-align: left;line-height:160% ">
            
            没有和您症状接近的病友！
            <br />
            您还没有添加症状？点击<%csharp%>TempUrl = "/SymptomHistory/Index.aspx";<%/csharp%><a href="{this.GetUrl(TempUrl)}" style="color:Green;"><b>添加</b></a>！
            
            </div>
            
            <%csharp%> } <%/csharp%>
            
          <%csharp%>} else { <%/csharp%>  <!-- 用户已经登录， 但没有选择疾病 -->
				
				
				<div style="font: 14px Arial, Helvetica, sans-serif; padding: 20px 16px 20px 16px; text-align: left; ">
				
				    <%csharp%>TempUrl = "/DiseaseHistory/Index.aspx";<%/csharp%>
				    赶快<a href="{this.GetUrl(TempUrl)}" style="color:Green;"><b>选择</b></a>您的疾病吧!
				    <br /><br />
				    我们将提供和您症状最接近的病友!
				    
				</div>
				
				<%csharp%> } <%/csharp%>   
				
			<%csharp%> } else { <%/csharp%>     <!-- 用户还没有登录或注册 -->
			    
			    <div style="font: 14px Arial, Helvetica, sans-serif; padding: 20px 16px 20px 16px; text-align: left; ">

			        赶快<%csharp%>TempUrl = "/User/Login.aspx";<%/csharp%><a href="{this.GetUrl(TempUrl)}" style="color:Green;"><b>登录</b></a>或
			        <%csharp%>TempUrl = "/User/Register.aspx";<%/csharp%><a href="{this.GetUrl(TempUrl)}" style="color:Green;"><b>注册</b></a>吧!
			        <br /><br />
			         我们将提供和您症状最接近的病友!
			        
			    </div>
			
			<%csharp%> } <%/csharp%>
    
    <%csharp%>TempUrl = ModuleCtrl.Footer("BestFitPatientsBySymptoms"); <%/csharp%>
    {TempUrl}            
<!-- BestFitPatientsBySymptoms -->		

